package com.gengzp.common.model.generic.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @ClassName SearchByIdReq
 * @Description 通用根据id查询请求实体
 * @Author gengzp
 * @Date 2025/9/8 14:34
 */
@Data
@ApiModel(description = "通用根据id查询请求实体")
public class SearchByIdReq implements Serializable {

    @Serial
    private static final long serialVersionUID = -8702995427664400880L;

    /**
     * id
     */
    @NotBlank(message = "id不能为空")
    @ApiModelProperty(value = "id", required = true)
    private String id;

}
